From: Philip Chimento Date: Sat, 10 Dec 2016 02:50:39 +0000 (-0800) Subject: tests: Destroy GjsContext before exit X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~610 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=dc110db4e0dc4f3bbe75e38149f2d6c2ef46966f;p=gnome-shell.git tests: Destroy GjsContext before exit This will be required in the upcoming version of GJS. https://bugzilla.gnome.org/show_bug.cgi?id=775374 --- diff --git a/src/run-js-test.c b/src/run-js-test.c index bd76d9568..5fb077c2d 100644 --- a/src/run-js-test.c +++ b/src/run-js-test.c @@ -127,6 +127,7 @@ main(int argc, char **argv) gjs_context_gc (js_context); gjs_context_gc (js_context); + g_object_unref (js_context); g_free (script); exit (code); }